<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
        <style>
            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }

            body {
                width: 100%;
                height: 100vh;
                display: flex;
                justify-content: center;
                align-items: center;
            }
            label {
                display: block;
            }
            input {
                border: none;
                border-bottom: 1px solid #ccc;
            }
        </style>
    </head>
    <body>
        <div class="form-item">
            <label for="name">Name</label>
            <input type="text" id="name" name="name" placeholder="Enter your name" />
            <span class="bar"></span>
        </div>
    </body>
</html>
